<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>退回提示</title>
	<link rel="stylesheet" href="css/reset.css">
	<link rel="stylesheet" href="css/product.css">
</head>
<body style="background:#fff;">
	<div class="undercarriage">
		<p>是否确认撤销调配？</p>
		<div class="undercarriage-btn">
			<button class="save-btn" id="save">确定</button>
			<button class="save-btn" id="result" type="button">取消</button>
		</div>
	</div>
</body>
	<script src="js/jquery-3.2.1.min.js"></script>
	<script src="js/jquery-validation/1.11.0/jquery.validate.min.js" type="text/javascript"></script>
	<script type="text/javascript" src="lib/layer/2.4/layer.js"></script>
	<script src="js/select.jquery.js"></script>
	<script type="text/javascript" src = "js/util.js"></script>
	<script type="text/javascript" src = "js/submit.js"></script>
	<script type="text/javascript" src = "js/validate.js"></script>
	<script type="text/javascript">
	var index = parent.layer.getFrameIndex(window.name);
	$(document).ready(function(){
		$('#result').click(function(){
			closeBtn();
		})
		$('#save').click(function(){
			var baseInfo =parent.getData();		
			var data = {};
			data.tracknumber = baseInfo.tracknumber;			
			AjaxDate('expressInformation/returnExpressInformation',data);
		})
		
	})
    function callbackDateInfo(date){
		if(date>=1){
			parent.layer.closeAll();
			parent.layer.msg("撤回成功!");
		}
		else{
			parent.layer.closeAll();
			parent.layer.msg("撤回失败!");
		}
		
	}
	function closeBtn() {	 
	    parent.layer.close(index); //关闭弹出页面
    }
	</script>
</html>